home *** CD-ROM | disk | FTP | other *** search
/ The Macintosh Bible Guide to Games / GameGuideCd.bin / Shareware / Card⁄Board / Hearts Deluxe 3.5 / Hearts Deluxe 3.5 ƒ / How to make your own opponents < prev    next >
Text File  |  1995-06-15  |  3KB  |  54 lines

  1. FOR: People who like to get under the hood ....
  2.  
  3. This file is a description of how the graphics & sounds are used in HEARTS DELUXE.
  4. If you are familiar with the free program from Apple, ResEdit you may use it along with a graphics program to modify the HEARTS interface.
  5.  
  6. As always, make a backup of any software that you plan to alter with ResEdit.
  7.  
  8. The graphics in Hearts are kept in the player file. "ZAK-ROB-JEN" is the standard.  
  9.  
  10. The graphics in Hearts are layered, at the deepest level is the empty room.
  11. PICT id 127
  12. On top of the room is places the background window.  This can be either 
  13. PICT id 154, 153, 152 or 151.
  14. On top of these two graphics is layered the three players in neutral poses.
  15. PICT id 144
  16.  
  17. The reason for this is so the background window can be behind the heads of the people at the table while still letting one switch in new backgrounds, or new people.
  18.  
  19. When modifying any of the above (using a graphics program and cutting and pasting), 
  20. be sure to keep the size of the enclosing rectangle the same.
  21.  
  22. TO MAKE YOUR OWN BACKGROUND WINDOWS,  
  23. copy and paste one of the backgrounds into a graphics program, modify it all you want (leaving the enclosing rectangle and the table edge as they are) then copy and paste it back into ResEdit. That's it!
  24.  
  25. ANIMATIONS:
  26. The animations are usually 2 step (3 counting the neutral position).  
  27. When modifying them you must also keep the size of the enclosing rectangle the same.
  28.  
  29. When you open the player file you will see a resource called "WIND"... Hearts uses the information in
  30. here to position the animated sequences.  So you may change the Top and Left coordinates of any of the labeled window resources to change the location of that animated picture.
  31.  
  32. PICT id 129 contains the "nugget" art.  These are all the pieces used to create the cards, draw the scoreboard, coffee cup, eye-movement etc.  When modifying this it's important to note that the game is grabbing small rectangles of art out of this picture, if what you change is too big Hearts may not grab all of it etc.  
  33.  
  34. MASKS:
  35. In order to draw a graphic on top of a background, the computer needs a mask which is a lot like a stencil.  For every animated graphic in HEARTS there needs to be a mask. To make them, in your graphics program, select the image with the lasso tool and then "fill" with black.  Cut and past the mask, or shadow, into the appropriate Hearts Pict resource.
  36.  
  37.  
  38. TEXT:
  39. The STR# resources contain the Telepathy comments and other comments.  These may be edited from within ResEdit.
  40.  
  41. SOUND:
  42. The snd resource contain the sounds from HEARTS. If you have a microphone attached to your computer you may record replacement sounds and paste them in. Just be sure the resource # of your new sound equals the resource number of the comment you want to replace. (You will have to delete the original sound first - so make a backup)
  43.  
  44.  
  45. This was written quickly in response to some requests.  If you have any questions drop us a line and if you draw a great set of graphics let us know and we'll see about using it.
  46.  
  47. Have fun!  And please get in touch if you are making a set.  There ARE others out there like you who can give you suggestions / advice or just someone who understands when you're trying to make that weird gesture look just right . . .
  48.  
  49. yours,
  50. Ian Lynch Smith
  51. freeVerse software.
  52. freeVerse@aol.com
  53.  
  54.